﻿using System;
using Dxr.Police.IACS.Models;
using Dxr.Police.Models;

namespace Dxr.Police.IACS.FullText
{
    public class SHZY_GDDX_TXJZSource : DataSourceBase<SHZY_GDDX_TXJZ>
    {
        protected override void OnInserting(SHZY_GDDX_TXJZ model, UserInfo user)
        {
            base.OnInserting(model, user);

            model.CREATE_BY = user.Id;
            model.CREATE_DATE = DateTime.Now;
        }
    }

    public class SHZY_GDDX_TXJZ : ISourceModel
    {
        [Source("主键", Key = true, Skip = true)]
        public int ID { get; set; }


        [Source("运营商", Show = true, ShowIndex = 0, Condition = true)]
        public string YYSMC { get; set; }


        [Source("类型", Show = true, ShowIndex = 1)]
        public string LX { get; set; }


        [Source("电话号码", Show = true, ShowIndex = 2, Condition = true)]
        public string PHONE { get; set; }


        [Source("地址", Show = true, ShowIndex = 3, Condition = true)]
        public string GHAZDZ { get; set; }


        [Source("手机号码", Show = true, ShowIndex = 4, Condition = true)]
        public string MOBILE { get; set; }


        [Source("姓名", Show = true, ShowIndex = 5, Condition = true)]
        public string XM { get; set; }


        public string ZJMC { get; set; }


        [Source("证件号", Show = true, ShowIndex = 6, Condition = true)]
        public string ZJHM { get; set; }


        public string KHDZ { get; set; }


        [Source("联系电话", Show = true, ShowIndex = 7, Condition = true)]
        public string MOBILE_1 { get; set; }


        public string MOBILE_2 { get; set; }


        public string ZT { get; set; }


        public string RWRQ { get; set; }


        public string ZZRQ { get; set; }


        public string XGBGSJ { get; set; }


        public string JFSJ { get; set; }


        public string EMAIL { get; set; }


        public string QQ { get; set; }


        public string QT { get; set; }


        public string BZ { get; set; }


        public string CJDW { get; set; }


        public string CJSJ { get; set; }


        public string SBYF { get; set; }


        public string SSQXDM { get; set; }


        public string ZYSSBM { get; set; }


        public string CJRY { get; set; }


        public string ZYCJSJ { get; set; }


        public string DRSJ { get; set; }


        public string DRRY { get; set; }


        public string DRRLXDH { get; set; }


        public string UPDATE_BY { get; set; }


        public string UPDATE_DATE { get; set; }


        public string DEL_FLAG { get; set; }


        public string CREATE_BY { get; set; }

        [Source("创建时间", Order = true)]
        public DateTime? CREATE_DATE { get; set; }


        public string REMARKS { get; set; }

        public DataType DataType => DataType.Telecom_Phone;
    }
}
